﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:PriceCuttingWar"
	mc:Ignorable="d"
	x:Class="PriceCuttingWar.HowToPlay"
	d:DesignWidth="480" d:DesignHeight="800" Height="730">
<UserControl.Resources>
		<Storyboard x:Name="ANI_Start">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterFace" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="-270">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterFace" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-68"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="46">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterFace" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-2"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterFace" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterFace" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="ANI_Show">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationX)" Storyboard.TargetName="GInterFace">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="-270">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<ElasticEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="GInterFace">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="46">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-68"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<ElasticEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="GInterFace">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-2"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<ElasticEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="GInterFace">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="GInterFace">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CubicEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid x:Name="GInterFace" Margin="8,0" RenderTransformOrigin="0.5,0.5">
			<Grid.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform/>
				</TransformGroup>
			</Grid.RenderTransform>
			<Grid.Projection>
				<PlaneProjection/>
			</Grid.Projection>
			<Rectangle Fill="White" Stroke="Black" StrokeThickness="12" RadiusX="19.5" RadiusY="19.5" d:IsLocked="True"/>
			<Rectangle Fill="White" Stroke="#FFFFCB58" StrokeThickness="2" RadiusX="19.5" RadiusY="19.5" Margin="34,30,34,28" d:IsLocked="True"/>
			<TextBlock FontFamily="Comic Sans MS" FontSize="48" FontWeight="Bold" TextAlignment="Center" TextWrapping="Wrap" Foreground="#FF007B97" Margin="48,59,49,0" Text="How to play" Height="71" VerticalAlignment="Top"/>
			<TextBlock TextWrapping="Wrap" Text="Which one can save you money at most form cards?" VerticalAlignment="Top" Margin="48,134,49,0" Foreground="#FF0D006A" FontSize="26.667" FontFamily="Comic Sans MS"/>
			<Grid x:Name="BackFoods" Margin="34,30,34,28" Opacity="0.195" d:IsLocked="True">
				<local:UIFood HorizontalAlignment="Left" VerticalAlignment="Bottom" d:LayoutOverrides="Width, Height"/>
				<local:UIFood HorizontalAlignment="Right" VerticalAlignment="Bottom" d:LayoutOverrides="Width, Height"/>
				<local:UIFood HorizontalAlignment="Left" VerticalAlignment="Top" d:LayoutOverrides="Width, Height"/>
				<local:UIFood HorizontalAlignment="Right" VerticalAlignment="Top" d:LayoutOverrides="Width, Height"/>
				<local:UIFood HorizontalAlignment="Left" Margin="2,92,0,99" d:LayoutOverrides="Width"/>
				<local:UIFood HorizontalAlignment="Right" Margin="0,91,2,100" d:LayoutOverrides="Width"/>
			</Grid>
			<TextBlock TextWrapping="Wrap" Margin="48,311,34,163" Foreground="#FF6A0049" FontSize="26.667" FontFamily="Comic Sans MS"><Run Text="When you find out right card ,game will become more diffcute as well the"/><Run Text=" "/><Run Text="score will be more;if not ,game will become easier."/></TextBlock>
			<Grid x:Name="BtnShowAgain" Height="62" Margin="48,0,152,28" VerticalAlignment="Bottom">
				<TextBlock FontFamily="Comic Sans MS" FontSize="24" FontWeight="Bold" TextWrapping="Wrap" Foreground="#FF009794" Margin="49,18,0,0"><Run Text="S"/><Run Text="how again"/></TextBlock>
				<Rectangle Fill="White" HorizontalAlignment="Left" Margin="0,20,0,6" Stroke="#FF009794" StrokeThickness="3" Width="36"/>
				<Path x:Name="Selected" Fill="#FF009794" Stretch="Fill" StrokeThickness="3" Margin="1,15.762,0,9.635" UseLayoutRounding="False" Data="M216,178.5 L179.5,196 L262,277 L475,155.5 L457,134.5 L269.5,220 z" HorizontalAlignment="Left" Width="39"/>
			</Grid>
			<local:UICard x:Name="UICard_Mony" Margin="0,190,232,0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" Width="203" VerticalAlignment="Top" d:LayoutOverrides="Height">
				<local:UICard.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:UICard.RenderTransform>
			</local:UICard>
			<local:UICard x:Name="UICard_Cut" Margin="0,193,17,0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" Width="197" Height="150" d:LayoutOverrides="HorizontalAlignment, Height" VerticalAlignment="Top">
				<local:UICard.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:UICard.RenderTransform>
			</local:UICard>
			<Path x:Name="Right" Fill="Red" Stretch="Fill" Stroke="Black" StrokeThickness="3" Margin="47,205.426,0,0" UseLayoutRounding="False" Data="M216,178.5 L179.5,196 L262,277 L475,155.5 L457,134.5 L269.5,220 z" Height="67.574" VerticalAlignment="Top" HorizontalAlignment="Left" Width="72"/>
			<Path x:Name="Wrong" Fill="Red" Stretch="Fill" Stroke="Black" StrokeThickness="3" Margin="255.492,204.334,0,0" RenderTransformOrigin="0.500000187916136,0.5" UseLayoutRounding="False" Data="M83.500031,1.5 L119.50003,1.5 L119.50003,83.500038 L201.49998,83.500038 L201.49998,119.50004 L119.50003,119.50004 L119.50003,201.5 L83.500031,201.5 L83.500031,119.50004 L1.5,119.50004 L1.5,83.500038 L83.500031,83.500038 z" d:LayoutRounding="Auto" HorizontalAlignment="Left" Width="74.989" Height="71.85" VerticalAlignment="Top">
				<Path.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform/>
						<RotateTransform Angle="45"/>
						<TranslateTransform/>
					</TransformGroup>
				</Path.RenderTransform>
			</Path>
			<Button x:Name="Btn_PlayNow" Content="Play Now" VerticalAlignment="Bottom" Margin="129,0,71,113" BorderBrush="#FF009794" Foreground="Black" FontFamily="Comic Sans MS" Height="116" FontSize="42.667" Style="{StaticResource ButtonStyle1}"/>
		</Grid>
	</Grid>
</UserControl>